Vcenter Compute Policies ObjectSelectorSpec
Vcenter Compute Policies ObjectSelectorSpec
The Vcenter Compute Policies ObjectSelectorSpec schema specifies the object selection criteria for enforcing a compute policy.
At least one selection criterion must be specified. Currently, only tag-based selection is supported.
This schema was added in vSphere API 9.1.1.0.
JSON Example
{
"tag": {
"tag_id": "string",
"tag_name_spec": {
"category_name": "string",
"tag_name": "string"
}
}
}
tag
Optional
Tag-based selection. The compute policy will be applicable to the objects that have the specified tag attached.
This property was added in vSphere API 9.1.1.0.
if missing or null, objects will be selected using a different selector type.